<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div th:replace="~{include-head :: head}"></div>
<link rel="stylesheet" type="text/css" href="/css/pagination.css">
<body>

<!--引入nav-->
<div th:replace="~{include-nav :: nav}"></div>
<div class="container-fluid">
	<div class="row">
		<!--引入sidebar-->
		<div th:replace="~{include-sidebar :: sidebar}"></div>
		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title"><i class="glyphicon glyphicon-th"></i>数据列表</h3>
				</div>
				<div class="panel-body">
					<form class="form-inline" role="form" style="float:left;">
						<div class="form-group has-feedback">
							<div class="input-group">
								<div class="input-group-addon">查询条件</div>
								<input id="keywordInput" class="form-control has-success" type="text" placeholder="请输入关键字">
							</div>
						</div>
						<button id="searchBtn" type="button" class="btn btn-warning"><i class="glyphicon glyphicon-search"></i>查询</button>
					</form>
					<button type="button" id="batchRemoveBtn" class="btn btn-danger" style="float:right;margin-left:10px;">
						<i class=" glyphicon glyphicon-remove">
						</i>删除</button>
					<button id="addBtn" type="button" class="btn btn-primary" style="float:right;">
						<i class="glyphicon glyphicon-plus"></i>新增</button>
					<br>
					<hr style="clear:both;">
					<div class="table-responsive">
						<table class="table  table-bordered">
							<thead>
							<tr >
								<th width="30">#</th>
								<th width="30"><input id="summaryBox" type="checkbox"></th>
								<th>名称</th>
								<th width="100">操作</th>
							</tr>
							</thead>
							<tbody id="certTableBody">

							</tbody>
							<tfoot>
							<tr >
								<td colspan="6" align="center">
									<div id="Pagination" class="pagination">
										<!-- 这里显示分页 -->
									</div>
								</td>
							</tr>

							</tfoot>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:replace="~{include-modal-cert-confirm :: certconfirm}"></div>
<div th:replace="~{include-modal-cert-add :: certadd}"></div>
<div th:replace="~{include-modal-cert-edit :: certedit}"></div>
</body>
</html>
<script type="text/javascript" src="/script/jquery.pagination.js"></script>
<script type="text/javascript" src="/script/my-cert.js"></script>

